/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.model.phonegroup;

import com.unis.model.BaseModel;

/**
 * 通讯簿分组
 * 
 * @author Administrator (email:xxh@163.com)
 * @since 2013-01-28
 */
public class Phonegroup extends BaseModel {

    private static final long serialVersionUID = 1L;

    /****************************************
     * Basic fields
     ****************************************/
    /**
     * 分组ID
     */
    private String groupid;
    /**
     * 分组名称
     */
    private String groupname;
    /**
     * 是否共享：1=共享、0=私有
     */
    private int isshared;
    /**
     * 序号：流水号
     */
    private double sn;
    /**
     * 用户ID
     */
    private String userid;
    /**
     * 是否公共：0=私有、1=公共
     */
    private int ispublic;

    /****************************************
     * JavaBean Specify setter & getter
     ****************************************/
    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupname(String groupname) {
        this.groupname = groupname;
    }

    public String getGroupname() {
        return groupname;
    }

    public int getIsshared() {
        return isshared;
    }

    public void setIsshared(int isshared) {
        this.isshared = isshared;
    }

    public void setSn(double sn) {
        this.sn = sn;
    }

    public double getSn() {
        return sn;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUserid() {
        return userid;
    }

    public int getIspublic() {
        return ispublic;
    }

    public void setIspublic(int ispublic) {
        this.ispublic = ispublic;
    }

}
